package org.msb.accentis.data.pojo;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;

@Entity
@NamedQueries( { @NamedQuery(name = "Institution.getAllInstitutions", query = "SELECT i FROM Institution i ORDER BY i.name") })
public class Institution extends NamedObject {

	@Lob
	private String institutionAddress;

	@Basic
	private String contactName;

	@Basic
	private String phoneNumber;

	@Basic
	private String email;

	@Basic
	private String website;

	@Lob
	private String description;

	public String getAddress() {
		return institutionAddress;
	}

	public void setAddress(String address) {
		institutionAddress = address;
	}

	public String getContact() {
		return contactName;
	}

	public void setContact(String name) {
		contactName = name;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String value) {
		phoneNumber = value;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String value) {
		email = value;
	}

	public String getWebsite() {
		return website;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String value) {
		description = value;
	}

	public void setWebsite(String value) {
		website = value;
	}
}
